<?php
/**
 * Created by PhpStorm.
 * User: DELL
 * Date: 2018/7/11
 * Time: 17:55
 */
namespace app\common\validate;
use think\Validate;

/**
 * 后台管理员注册验证器
 * Class AdminUser
 * @package app\common\validate
 */
class AdminUser extends Validate
{
    protected $rule = [
        'username'=>'require|min:3|max:16',
        'password'=>'require|min:3'
    ];
}